{extend name="layout" /}
{block name="content"}
<div class="mui-content">
	<div class="uk-margin-small-top">
		<!--item-->
		{volist name="lists" id="v"}
		<div class="uk-margin-small">
			<div class="mui-table-view line-height-xsmall mui-in-zero">
				<div class="mui-table-view-cell mui-media">
					<div class="mui-table uk-text-xsmall">
						<div class="mui-table-cell uk-text-middle">
							<a href="{:url('member/personal', ['id'=>$v.contentid])}"><img class="uk-border-circle mui-pull-left uk-margin-xsmall-right" src="{$v.avatar}" width="44" height="44"></a>
							<div class="mui-media-body">
								<div class="mui-ellipsis uk-margin-mini-top">{$v.nickname}</div>
								<div class="mui-ellipsis uk-text-mini uk-text-muted uk-margin-mini-top">
									{$v.motto}
								</div>
							</div>
						</div>
						<div class="mui-table-cell uk-text-middle uk-width-1-4 uk-text-right">
							 <a class="mui-inline uk-text-muted uk-text-small cocoAjax" confirm="确定要取消关注吗？" href="Javascript:" ajax-url="{:url('/v1/favorites/add')}" ajax-data="{  contentid:{$v.contentid}, typeid:1, notcheck:1}" ajax-callback="suc_back">
							 	<img src="{$images_path}tm-icon-heart-gray.png" width="14" height="14" />
							 	<span class="uk-text-middle">取消关注</span>
							 </a>
						</div>
					</div>
				</div>
			</div>
		</div>
		{/volist}
		<!--/item-->
	</div>
</div>
{/block}
{block name="script"}
<script>
	function suc_back (obj, data) {
		coco_refresh_window();
	}
</script>
{/block}